package br.com.gsc.model.tableMapping;

import javax.persistence.Entity;

import org.springframework.transaction.annotation.Transactional;

@Entity
//@Table(name="admins")
@Transactional
public class Admin extends Person {

	private boolean superAdmin;

	public Admin(){
		super(RoleUserType.ADMIN_ROLE);
	}
	 
	public boolean isSuperAdmin() {
		return superAdmin;
	}

	public void setSuperAdmin(boolean superAdmin) {
		this.superAdmin = superAdmin;
	}
}

